MoneyBible QTUMUSDT BacktesterMoneybible BINANCE:QTUMUSDT backtester on 15m candlestick . It will be re-optimized monthly.
The script is written in PineScript V.3, makes no use of the security() function and does not use the Trailing Stop-Loss function from TradingView. No repainting issue.
DM me for joining discord and getting a trial.
Alert script here :
Search in scripts for "the script"
MoneyBible ETHUSD BacktesterMoneybible BITMEX:ETHUSD backtester on 15m candlestick . It will be re-optimized monthly.
The script is written in PineScript V.3, makes no use of the security() function and does not use the Trailing Stop-Loss function from TradingView. No repainting issue.
Alert script here :
MoneyBible XBTUSD BacktesterMoneybible BITMEX:XBTUSD backtester on 10m candlestick . It will be re-optimized monthly.
The script is written in PineScript V.3, makes no use of the security() function and does not use the Trailing Stop-Loss function from TradingView. No repainting issue.
Alert script here :
[M10] Ichimoku Keltner Channel Scalper [Backtest]Hey all,
This script combines a couple of popular indicators to create a reliable yet versatile opportunity to automate trades based on the Ichimoku Cloud. The idea is to use bullish/bearish Ichimoku crossovers to enter positions whilst taking advantage of a modified Keltner Channel to exit these positions at maximum profit.
The script has been backtested on various timeframes and proves effective in both trending and ranging markets.
I have also added the ability to limit your positions to only long, or short, if this is of preference.
An alerts version of this script is also available at no cost on my page - enjoy!
Any questions? Let me know!
FREE BACKTEST STRATEGY BTC/USDT 15m Binance LONGA long only strategy for trading BINANCE:BTCUSDT in a 15m timeframe built upon Donchian Channels.
The script is already configured for this market /timeframe.
I built it using my generic version that you can request access by leaving a comment:
To get access to the alert setup version and automate the strategy, you need to purchase a subscription on my website .
Thanks for the feedback/support !
RSI Alligator StrategyHello trading family! Just wanted to give a quick write up and share the new code for the RSI Alligator Strategy. I amended it to show every crossover signal, weak and strong, so we can accurately gauge its effectiveness.
Having played with this for a couple hours now I have learned a few things
-Using Heikin Ashi seems to smooth it out a bit and provides about 20% fewer signals, leading to overall more accuracy. However, it can be misleading as the Heikin Ashi opening price doesn't always line up with the market price, especially in cases of large moves. Overall though it didn't seem too far off except for a few instances.
-Also, using the Heikin Ashi gives you a better idea of the trend, which this indicator is primarily used to detect and exploit.
-Having tested on TF of 1H-1D, overall profitability is found to be highest between 4H-12H, with 1D giving the "safest" longer term signals, and lower TF's generating many more signals due to volatility.
-Instead of waiting for the next signal in order to close, you can often use a crossover/crossunder of the 5 and 13 to close the previous trade, especially if paired with a Heikin Ashi of opposite color (green to close a short, red to close a long)
-You will also notice several instances where the Green 5 period show divergences that aren't visible on the regular RSI, another handy little feature
So far I have still only tested this on BTCUSD. Feel free to apply it to any coin and let me know what you find.
Here is the script. If you have any ideas or suggestions please let me know!
CryptoWise4hETHstrategyCrypto Wise 4h ETH Trading Script with Alerts
ETH is very volatile, and that's what makes this script great: Being able to catch the next Move Up or Down.
No repainting.
Better to be used on a 4hr Chart.
No indicator is perfect, but when it gets integrated into a great strategy, and used together with other indicators like the Stoch RSI , you can easily make great trades.
You can get access to the script for $20 / month. Payments accepted in BTC, ETH, LTC, BCH.
72hr Trial given upon request.
Crypto Reversal Scalper DEMO / FREE BacktesterCrypto Reversal Scalper Lite
This is a lite version of:
This script allows anyone to try out the capability of the script with restrictions to some features. If you want to unlock all the features, consider upgrading.
Full version also includes alerts for automated trading.
Market Sniper V1 [Strategy]Market Sniper is a trend-based script born and created with leverage trading in mind. I created this to trade automatically with leverage using AutoView Chrome Extension on BitMex XBTUSD.
Features:
• Trend-Based: use higher timeframe to check the trend of the coin, and a threshold to evaluate the trend strength.
• Dual-Behavior: different settings are used when the trend is strong and when it is weak. With a strong trend it can catch big trades, with a stable trend it can act like a scalper with smaller and faster trades.
• Smart Profit: you can set a percentage gain and a trail setting. The script will try to trail the price if the trend is strong, otherwise it will exit at the specified gain.
• Loss Control: you can set a percentage stop-loss to cover bad entries. The market is unpredictable, no script is perfect, sooner or later it will take a bad choice.
The chart shows the result for the full month of August using leverage 10.
If you want to try it just contact me.
Prometheus Trend SurferPrometheus Trend Surfer is a strategy built to follow trends and make the best use of it by giving you long and short entries.
It works on all time frames and has a tight tolerance for non-profitable entries so you won’t get stuck in losing positions.
Gives you an option to set trend length so you can fit it to your style of trading.
You also have the option to backtest from the date you set in the options dialog.
Instructions
1. Load the script
2. Use Heikin-Ashi candles
Did we get your attention? If you wish to buy our script, shoot us a PM.
We are not analysts, investment advisors or anything of that sort. Everything that we provide with this script is purely for guidance, informational and educational purposes. All information contained herein should be independently verified and confirmed. We do not accept any liability for any loss or damage whatsoever caused in reliancee upon such information or services. Please be aware of the risks involved with any trading done in any financial market. Do not trade with money that you cannot afford to lose. When in doubt, you should consult a qualified financial advisor before making any investment decisions.
Bollinger Bear SniperThis script uses Bollinger Band but with different interpretation. The upper Bollinger Band is the resistant level, the lower Bollinger Band is the base or support level. The Commodity Channel Index (CCI) and the Bollinger Bandwidth helps us avoid high risk.
The script identifies candles that are marking bold upward moves in prices and fires buy signal. Sales signals are fired when the candle closes in positive. The idea is to buy and sell on the same candle or next positively closed candle. This is anti-bear-anti-bags strategy. You either make profit or loss holding no bag. When you gain more than lose you are in business. This script is set to gain more than lose. We however offer no guarantee, expressed or implied. We are NOT responsible.
NGRN MACD-X & RSI v3.1 STRATEGYMACD-X, RSI & Volume Indicator Strategy - Version 3.1
Overview
This strategy and it's associated study were modeled after the famous Philakone described algorithms on his now defunct instructional video series.
This indicator allows for full customisation of parameters and interaction between three indicators that allow users to shape their trading methods to their desired goals. This associated strategy also allows users to backtest the study alerts script and find the best settings towards that end.
MACD + RSI + VOLUME - are of the most powerful and widely usded indicators, MACD/Histogram crosses, coupled with RSI & Volume increases/decreases will detects areas of deeply oversold / overbought and buys/sells on the reversal
Features
Full customisation - All parameters are open for customising to allow the trader to build their own strategy and adapt from market to market.
Clean/Simple UI - Facilitating ease of use.
Enable Buying or Selling, - or have them both active at the same time.
Toggle off and on ALTERNATING Buy and Sell feature (pyramiding) - to allow for consecutive dollar cost averaging style buys or SCALING out of an entry (partial sell).
Customizable Stop-Loss plot - to enable users to create a STOP-LOSS alert option or other alert(s) based on the plot location. See settings screenshot.
Study and associated Strategy - to use the TradingView ‘Strategy Tester’ back-testing features to find the best alert settings for specific coins in bear, bull and sideways markets.
Changes Version 3.1
UI consolidates reduntant script inputs making the script easier to use.
Fixes STOP-LOSS algorithm.
Adds a STOP-LOSS Plot (red line) to enable users to create a STOP-LOSS alert option or other alert(s) based on the plot location. See settings screenshot.
Access
Full Access is 0.1 ETH , one time fee for LIFETIME access to the STUDY indicator, STRATEGY and future updates as well as support and SETTINGS for various markets on the Binance Exchange.
Settings
BUY SETTINGS: prntscr.com
SELL SETTINGS: prntscr.com
STOP-LOSS SETTINGS : prntscr.com
Volume & Intraday ScriptI am still learning pinescript, and part of this was created using the Pine Script language reference manual. This includes looking at the time series, a fixed length, and the default intraday_loss variables. This also includes the basic fixed lengths for an swma (Symmetrically weighted moving average) and the script to start creating a strategy. All in all this is just a basic sample of pinescript that you can customize for your trading needs. This can work with Cryptocurrency but these moving averages usually work more efficiently for forex.
FTSE FridaysThis code snippet below is a quick and dirty follow up to some statistical analysis performed on the FTSE 100. It showed that over the long run, (since 1995) going long on a Friday appeared to have a statistical edge (53%). As a bit of fun, I wanted to create a quick pine script backtest to test this and see if it is possible to profit from it. After all, the index might finish up 53% of the time, but that doesn't mean one can profit from it.
A full commentary to the script and FTSE analysis post can be found on the Backtest-Rookies website. To comply with house rules, I cannot post a direct link here.
Important Note
The script must run on the 4H time frame…..Why? It is a quick and dirty implementation and it relies on entering a long position on the 4H bar before the market opens. This way the position will enter at the open of the market. (Since positions are always opening on the bar following an entry signal).
Combined Signal + Auto Day Plan + Volume📘 TradingView Description — Combined Signal + Auto Day Plan + Volume
Strategy Overview
This strategy combines trend-following signals, daily context levels, and volume confirmation to generate high-probability intraday trading setups.
It is designed to filter noise, identify trend direction early, and avoid trades during low-quality market conditions.
🔷 1. Combined Signal Logic
The strategy merges multiple indicators to produce a single, cleaner signal:
Long Signal
Trend bias is bullish
Momentum histogram (MACD/Custom) shows upward pressure
Price crosses above the midline (WMA/EMA/etc.)
Volume supports the move
Short Signal
Trend bias is bearish
Momentum histogram shows downward pressure
Price crosses below the midline
Volume supports the move
This reduces false breakouts and ensures signals appear only during strong directional moves.
🔶 2. Auto Day Plan Levels (D-1 → D)
The script automatically reads previous day levels and displays them on today’s session:
Previous Day High (PDH)
Previous Day Low (PDL)
Previous Day Close (PDC)
Previous Day Mid / Range Zones
Optional FIB levels or custom zones
These levels act as intraday support/resistance, helping identify breakout, reversal, and retest opportunities.
Behavior:
D-1 levels are plotted from today’s open until today’s close.
Levels do not overlap into the wrong day.
Optional: extend lines to next day (D+1) for planning.
🔷 3. Volume Confirmation
To improve entry accuracy, the script checks for strength in volume:
Volume > X-period average
Volume spike detection
Relative Volume (RVOL) filter
Optional low-volume avoidance
A trade is taken only when the market shows real participation, reducing traps and sideways chop trades.
🔶 4. Entry & Exit Logic
Entry
Long Entry: Combined bull signal + volume confirmation
Short Entry: Combined bear signal + volume confirmation
Exit
Long Exit → Histogram turns down (hist < hist )
Short Exit → Histogram turns up (hist > hist )
Optional:
Auto SL at PDL/PDH
Trailing based on midline
Take profit using FIB or volatility levels
💠 5. Visuals
The chart plots:
Buy/Sell markers
D-1 support/resistance lines
Trend direction midline
Volume confirmation label
Combined signal status
Colors and styles can be customized from the input panel.
🎯 6. Purpose of the Strategy
This is a complete intraday automation tool combining:
✔ Trend
✔ Momentum
✔ Volume strength
✔ Key day levels
The goal is to provide structured, mechanical, rule-based trading — reducing emotional decisions and improving consistency.
Trend Vector Pro v2.0Trend Vector Pro v2.0
👨💻 Developed by: Mohammed Bedaiwi
💡 Strategy Overview & Coherence
Trend Vector Pro (TVPro) is a momentum-based trend & reversal strategy that uses a custom smoothed oscillator, an optional ADX filter, and classic Pivot Points to create a single, coherent trading framework.
Instead of stacking random indicators, TVPro is built around these integrated components:
A custom momentum engine (signal generation)
An optional ADX filter (trend quality control)
Daily Pivot Points (context, targets & S/R)
Swing-based “Golden Bar” trailing stops (trade management)
Optional extended bar detection (overextension alerts)
All parts are designed to work together and are documented below to address originality & usefulness requirements.
🔍 Core Components & Justification
1. Custom Momentum Engine (Main Signal Source)
TVPro’s engine is a custom oscillator derived from the bar midpoint ( hl2 ), similar in spirit to the Awesome Oscillator but adapted and fully integrated into the strategy. It measures velocity and acceleration of price, letting the script distinguish between strong impulses, weakening trends, and pure noise.
2. ADX Filter (Trend Strength Validation – Optional)
Uses Average Directional Index (ADX) as a gatekeeper.
Why this matters: This prevents the strategy from firing signals in choppy, non-trending environments (when ADX is below the threshold) and keeps trades focused on periods of clear directional strength.
3. Classic Pivot Points (Context & Targets)
Calculates Daily Pivot Points ( PP, R1-R3, S1-S3 ) via request.security() using prior session data.
Why this matters: Momentum gives the signal, ADX validates the environment, and Pivots add external structure for risk and target planning. This is a designed interaction, not a random mashup.
🧭 Trend State Logic (5-State Bar Coloring)
The strategy uses the momentum's value + slope to define five states, turning the chart into a visual momentum map:
🟢 STRONG BULL (Bright Green): Momentum accelerating UP. → Strong upside impulse.
🌲 WEAK BULL (Dark Green): Momentum decelerating DOWN (while positive). → Pullback/pause zone.
🔴 STRONG BEAR (Bright Red): Momentum accelerating DOWN. → Strong downside impulse.
🍷 WEAK BEAR (Dark Red): Momentum decelerating UP (while negative). → Rally/short-covering zone.
🔵 NEUTRAL / CHOP (Cyan): Momentum is near zero (based on noise threshold). → Consolidation / low volatility.
🎯 Signal Logic Modes
TVPro provides two selectable entry styles, controlled by input:
Reversals Only (Cleaner Mode – Default): Targets trend flips. Entry triggers when the current state is Bullish (or Bearish) and the previous state was not. This reduces noise and over-trading.
All Strong Pulses (Aggressive Mode): Targets acceleration phases. Entry triggers when the bar turns to STRONG BULL or STRONG BEAR after any other state. This mode produces more trades.
📌 Risk Management Tools
🟡 Golden Bars – Trailing Stops: Yellow “Trail” Arrows mark confirmed Swing Highs/Lows. These are used as logical trailing stop levels based on market structure.
Extended Bars: Detects when price closes outside a 2-standard-deviation channel, flagging overextension where a pullback is more likely.
Pivot Points: Used as external targets for Take Profit and structural stop placement.
⚙️ Strategy Defaults (Crucial for Publication Compliance)
To keep backtest results realistic and in line with House Rules, TVPro is published with the following fixed default settings:
Order Size: 5% of equity per trade ( default_qty_value = 5 )
Commission: 0.04% per order ( commission_value = 0.04 )
Slippage: 2 ticks ( slippage = 2 )
Initial Capital: 10,000
📘 How to Trade with Trend Vector Pro
Entry: Take Long when a Long signal appears and confirm the bar is Green (Bull state). Short for Red (Bear state).
Stop Loss: Place the initial SL near the latest swing High/Low, or near a relevant Pivot level.
Trade Management: Follow Golden (Trail) Arrows to trail your stop behind structure.
Exits: Exit when: the trailing stop is hit, Price reaches a major Pivot level, or an opposite signal prints.
🛑 Disclaimer
This script is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always forward-test and use proper risk management before applying any strategy to live trading.
Fibonacci Vision ProFibonacci Precision Signals Pro | Smart Buy & Sell Alerts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OVERVIEW
This indicator combines Fibonacci mathematics with advanced signal filtering to deliver precise buy and sell signals. It automatically detects swing structure, calculates the key 0.618 retracement level, and generates signals only when multiple confirmation factors align.
Clean. Accurate. Professional.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
The script identifies swing highs and lows, then calculates Fibonacci retracement levels automatically. When price interacts with the 0.618 zone and all filters confirm, a signal appears:
▲ buy — Long entry opportunity
▼ sell — Short entry opportunity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6-LAYER CONFIRMATION SYSTEM
Every signal must pass through:
Trend Direction Analysis
Fibonacci Level Interaction
EMA Trend Filter (50-period default)
RSI Momentum Validation (14-period default)
Volume Spike Detection
Candlestick Pattern Recognition (Pin bars, Engulfing, Momentum candles)
This multi-layer approach significantly reduces false signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BUILT-IN RISK MANAGEMENT
Every trade includes automatic stop loss and take profit levels:
Stop Loss: 100 pips
Take Profit: 200 pips
Risk-Reward Ratio: 1:2
Adjust these values in settings to match your trading style.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES
✅ Automatic Fibonacci calculation — no manual drawing
✅ Multi-timeframe compatibility — M15 to Daily
✅ Universal market support — Forex, Crypto, Stocks, Indices
✅ Clean minimalist signals — white triangles with text
✅ Customizable filters — adjust sensitivity to your preference
✅ Built-in alerts — never miss a signal
✅ No repainting — signals remain fixed once confirmed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Swing Detection:
Swing Length — Controls sensitivity to market structure (default: 10)
Confirmation Bars — Bars required to confirm signal (default: 1)
Signal Filters:
EMA Trend Filter — Toggle trend confirmation on/off
EMA Length — Adjust trend filter period (default: 50)
RSI Filter — Toggle momentum confirmation on/off
RSI Length — Adjust momentum period (default: 14)
Volume Filter — Toggle volume confirmation on/off
Volume Multiplier — Set volume threshold (default: 1.2x average)
Risk Management:
Stop Loss Pips — Set your stop loss distance (default: 100)
Take Profit Pips — Set your profit target (default: 200)
Pip Value — Adjust for your instrument (0.0001 for most Forex, 0.01 for JPY pairs)
Visuals:
Show Signals — Toggle signal visibility
Show Cloud — Toggle Fibonacci zone visibility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BEST PRACTICES
Use on H1 or H4 timeframes for optimal results
Trade in direction of the higher timeframe trend
Avoid trading during major news events
Combine with proper position sizing
Always use the built-in stop loss
Be patient — quality signals over quantity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MARKETS SUPPORTED
Forex — All major, minor, and exotic pairs
Crypto — BTC, ETH, and altcoins
Stocks — Any equity on TradingView
Indices — S&P500, NASDAQ, DAX, FTSE, etc.
Commodities — Gold, Silver, Oil, etc.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY FIBONACCI?
The 0.618 ratio (Golden Ratio) is observed by traders worldwide. When price retraces to this level, it often:
Reverses direction
Finds support or resistance
Creates high-probability entry opportunities
This script automates the detection of these key moments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS INCLUDED
Set up notifications to receive signals on:
Mobile push notifications
Desktop popups
Email alerts
Webhook integrations
Never miss a trading opportunity again.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT MAKES THIS DIFFERENT
Most indicators give too many signals. This one focuses on quality.
Most indicators clutter your chart. This one keeps it clean.
Most indicators ignore risk management. This one includes it.
Most indicators work on one market. This one works on all.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is a trading tool, not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always use proper risk management and never trade with money you cannot afford to lose. Test on a demo account before trading live.
MA Strategy: Dual Entry FilterConfigurable MA Dual-Filter Strategy
This strategy is an enhanced and highly configurable Moving Average (MA) Crossover system designed to mitigate false signals and align trades with the prevailing market trend. It is built to offer traders granular control over entry criteria, elevating it beyond basic, built-in MA crossover indicators.
Originality & Key Features
The script's originality and utility lie in the combination of its two primary, optional filtering mechanics:
Dual Entry Mode (Key Filter): Users can choose between two distinct methods for trade entry:
Crossover (Classic): Immediate entry when the price crosses the main MA.
Full Candle Confirmation (Unique Feature): This mode requires the entire candle body (open, high, low, and close) to be completely above or below the main MA after a crossover event to confirm the signal before entry. This strict confirmation helps to filter out weak crossovers, reducing whipsaws in choppy markets.
Optional Trend Filter: A second, slower MA (Trend Filter MA) can be activated. Trades are only permitted when the faster main MA is aligned with the slower Trend MA (i.e., long only if main MA > Trend MA), ensuring trades are executed with the established higher-timeframe direction.
How to Use the Strategy
The strategy logic is built on simple MA principles but utilizes Pine Script's switch function to allow users to select from six different MA types for both the main signal and the trend filter: SMA, EMA, WMA, HMA, VWMA, and RMA.
Core Logic:
Signal: A cross of the price over the Main MA (filtered by the chosen Entry Mode).
Directional Filter: The Trend Filter must confirm the direction (if enabled).
Exit: Trades are exited on the opposite price crossover of the Main MA.
Customizable Settings Include:
Main MA Type & Length (Default: 40 EMA): The primary signal generator.
Trend Filter MA Type & Length (Default: 70 EMA): The optional, slower trend bias.
Entry Mode: Switch between Crossover or Full Candle Confirmation.
Strategy Results and High-Risk Disclaimer
The default setting for trade size is set to 40% of equity for backtesting demonstration purposes only. This high value is used to generate a large and diverse sample size of trades for historical review on the chart.
This 40% value is NOT a recommended setting for live trading. Per TradingView guidelines, traders are strongly advised to change this input to a sustainable risk level, typically 5% to 10% of equity per trade. Past performance is not a guarantee of future results.
Momentum Reversal / Dip Buyer [Score Based]Strategy Overview
Momentum Reversal / Dip Buyer is a quantitative reversal engine designed to fade stretched moves and buy dips / sell rallies when multiple momentum and context factors line up. It’s built for liquid instruments especially for ticker CME_MINI:ES1! and works best on intraday timeframes like the 5-minute or 1-minute chart.
Core Logic
This strategy builds a composite Momentum Score by combining:
Price Location: Relative to 100 SMA, 1000 EMA, and VWAP (trend / regime filter).
RSI: Overbought/oversold and mid-zone strength.
VWMO (Volume-Weighted Momentum): Direction and strength of volume-weighted price drift.
ADX: Trend strength filter (high vs low trend environment).
Full Stoch (%K): Short-term exhaustion and mean-reversion context.
CCI: Overbought/oversold turns (key trigger).
MFI: Volume-confirmed buying/selling pressure.
ATR Regime: High vs low volatility environment.
Cumulative Delta: Whether net aggressor flow is rising or falling.
From this, a single Momentum Score is computed each bar:
Longs: Taken when the score is depressed (scoreLow) and CCI crosses up from oversold.
Shorts: Taken when the score is elevated (scoreHigh) and CCI crosses down from overbought.
Risk Management & Trade Logic
Max Daily Trades: Hard cap on entries per day.
Hard Stop: Fixed % stop based on entry price.
Profit Target: Target ATR Multiplier × main ATR from entry.
Breakeven Logic: Optional; moves stop to breakeven (plus optional offset) after price moves a configurable multiple of the main ATR in your favor.
Trailing Stop (Separate ATR): Optional; uses its own ATR length and ATR-based trigger and distance. This lets you run slower ATR for targets while using a tighter, more reactive ATR for the trail.
Session Control
Trading Window: Optional session filter (e.g., 09:30–16:00). Entries are only allowed inside the defined window.
Force Flat at Session End: Option to automatically close all open positions when the session ends.
Visuals
The script plots entry arrows and a compact dashboard displaying: current Momentum Score, daily trade usage, and CCI status.
Disclaimer:
This script is for educational and research purposes only and is not financial advice. Past performance does not guarantee future results. Always forward-test and adjust parameters to your own risk tolerance and market.
Shoutout and all credit goes to AuclairsCapital for building the base foundation of this strategy on ThinkScript
Pro Bollinger Bands Strategy [Breno]This strategy excels in highly volatile financial instruments, including cryptocurrencies, high-beta stocks, commodity futures, and certain exchange-traded funds (ETFs) that exhibit clear mean-reversion characteristics around their Bollinger Bands. The system's ability to utilize scaling (position averaging) and an ATR-based stop loss makes it particularly effective in markets with significant price swings, allowing the trader to capture profits from price extremes while managing increased volatility-related risk.
Core Strategy Logic
This Strategy implements a comprehensive trend-following and mean-reversion strategy primarily leveraging the Bollinger Bands (BB) indicator for entry and exit signals, complemented by an Average True Range (ATR)-based Stop Loss mechanism and an optional EMA filter. It is designed with robust features for capital management, including configurable leverage and a sophisticated position averaging (scaling) system.
Long Entry: A long position is initiated when the closing price crosses over the Lower Bollinger Band (ta.crossover(close,lowerBB)). This signals a potential mean-reversion opportunity following a price dip.
Short Entry: A short position is initiated when the closing price crosses under the Upper Bollinger Band (ta.crossunder(close,upperBB)). (Note: Short entries are disabled by default in the script inputs).
Exit Conditions (Profit Target): Long positions aim to exit upon interaction with the Upper Bollinger Band. Users can select from three exit methods:
"Close When Touch": Exits when close≥upperBB.
"Close Above then Below": Exits when the previous close was above the upper band, and the current close is below it (a reversal signal).
"High Above": Exits when high>upperBB. The strategy features an optional profitOnly setting, which restricts all exits to only occur if the trade is currently in profit (i.e., close is above the strategy.position_avg_price for longs).
Key Features and Customization
Bollinger Bands & Filters -
Customizable BB Parameters: The Length and Deviation of the Bollinger Bands are fully adjustable, allowing users to fine-tune the sensitivity of the entry and exit signals.
Optional EMA Filter: An optional EMA Filter can be enabled to align entries with the prevailing trend, where a Long entry is only permitted if close≥EMA(EmaFilterRange).
Risk and Capital Management -
Equity Allocation: Position size is dynamically calculated based on a Percentage of Equity (capitalPerc) combined with the set Leverage multiplier.
Dynamic Stop Loss (ATR-Based):
An optional Stop Loss (SL) is calculated using a multiple (slAtrInput) of the Average True Range (ATR).
The SL is set relative to the entry price upon trade activation, providing a volatility-adjusted risk management layer.
Position Averaging (Scaling): The script supports the addition of multiple units (pyramiding) to an existing position based on three user-selected criteria:
"No": No averaging.
"Percent": Adds to the position if the price has dropped by a set percentage (addPct) from the average price.
"ATR": Adds to the position if the current price is significantly below a calculated ATR-based support level from the average price.
Gemini Wyckoff Trend SystemStrategy Name: Gemini Wyckoff-Trend System
1. Core Design Philosophy
This strategy fuses Wyckoff Theory (specifically the "Law of Effort vs. Result") with classic Trend Following principles. Its primary goal is not to catch every minor fluctuation, but to filter out 80% of market noise and fakeouts, ensuring that you only pull the trigger when "Smart Money" enters the market with genuine volume.
It operates on a strict "3-Dimension Verification" logic:
Trend (Context): Never trade against the macro trend.
Structure (Price Action): Identify accumulation zones and wait for the breakout.
Volume (Effort): Require massive volume confirmation to validate the move.
2. The 3-Filter System
Filter 1: The Trend Filter (EMA 200)
Rule: The strategy only looks for Long setups when the price is ABOVE the 200-period Exponential Moving Average (EMA).
Purpose: To strictly prevent "catching falling knives" or counter-trend trading during a bear market.
Filter 2: The Structure Filter (Donchian Channel)
Rule: The script automatically identifies the highest high of the past 20 bars to define the "Accumulation Box." A signal is only possible if the price closes above this resistance level.
Wyckoff Term: This represents "Jumping the Creek" (JTC)—signaling that price is leaving the trading range.
Filter 3: The Volume Filter (RVOL > 1.5)
Rule: The breakout bar must have a volume that is at least 1.5x higher than the average volume of the past 20 bars.
Purpose: To eliminate "Upthrusts" (Fake Breakouts). If price breaks out on low volume, the system ignores it.
3. Visual Guide
Once loaded, here is how to read the chart:
📉 Orange Line (EMA 200): The Bull/Bear divider. If price is below this line, stay in cash.
🌫️ Grey Zone: The "No-Trade Zone" (Accumulation/Consolidation). Do not trade while price is inside this box.
🟢 Lime Green Bar: The Entry Signal. This indicates a valid breakout confirmed by high volume (Smart Money entry).
🪜 Red Step Line: Your Trailing Stop (ATR-based). As long as you hold a position, watch this line. If price closes below it, exit immediately.
📊 Dashboard (Top Right): Monitors market "Heat." If RVOL is Green, volume is significant.
4. Best Practices
Ideal For: Traders who struggle with over-trading or FOMO. This script enforces patience and discipline.
Timeframe: Recommended for 4-Hour (4H) or Daily (1D) charts to catch major crypto trends (e.g., Bitcoin main waves).
Asset Class: Crypto, Stocks, or any asset with high volume liquidity.
5. Risk Warning
This strategy includes a built-in ATR Volatility Stop. The stop-loss level adjusts dynamically based on market volatility. Please adhere strictly to the stop-loss signals to protect your capital.
Mean-Reversion with CooldownThis strategy requires no indicators or fundamental analysis. It is designed for longer-term positions and works especially well on unleveraged instruments with strong long-term upward trends, such as precious metals. Feel free to experiment with different timeframes — I’ve found that 1-hour charts work particularly well for cryptocurrencies.
The idea is to filter out ongoing bear phases as effectively as possible and capitalize on long-term bull runs.
The script implements an idea that came to me in a state of complete sleep deprivation: open a random long position with a fixed take-profit (TP) and a tight stop-loss (SL).
If the TP is hit — great, we simply try again.
If the SL is triggered — too bad, we pause for a while and then try again.
## Cooldown (Waiting) Mechanism
The waiting mechanism is simple: the more consecutive SL hits we get, the longer we wait before opening the next trade. The waiting time is measured in closed candles, and thus depends on the timeframe you are using.
## Two cooldown calculation modes are currently supported:
### 1. FIBONACCI
The cooldown follows the Fibonacci sequence, based on the number of consecutive losses:
1st loss → wait 1 bar
2nd loss → wait 1 bar
3rd loss → wait 2 or 3 bars (depending on definition)
4th loss → wait 3 or 5 bars
etc.
### 2. POWER OF TWO
The cooldown increases exponentially:
1st loss → wait 2 bars
2nd loss → wait 4 bars
3rd loss → wait 8 bars
4th loss → wait 16 bars
and so on, using the formula 2ⁿ.
## Configurable Parameters
### Cooldown Pause Calculation
The settings allow you to define the SL and TP as percentages of the position value.
The "Cooldown Pause Calculation" option determines how the next cooldown duration is computed after a losing trade.
The system keeps track of how many consecutive losses have occurred since the last profitable trade. That counter is then used to compute how many bars we must wait before opening the next position.
### Maximum Cooldown
The "Max Cooldown Candles" setting defines the maximum number of bars we are allowed to wait before placing a new trade. This prevents the strategy from “locking itself out” for too long and mitigates the fear of missing out (FOMO).
Once the cooldown duration reaches this maximum, the system essentially wraps around and starts the progression again. In the script, this is handled using a simple modulo operation based on the chosen maximum.
Dynamic Ratchet Trend Strategy [VIX Filter]Overview This strategy is a long-only trend-following system designed to capture major market moves while strictly managing downside risk through a state-machine based "Ratchet" exit logic. It incorporates a volatility filter using the CBOE VIX index to stay out of (or exit) the market during high-stress environments.
Key Features
1. Multi-Condition Entries The strategy looks for momentum shifts and trend breakouts using four Simple Moving Averages (25, 50, 100, 200).
Momentum Cross: SMA 25 crossover above SMA 50.
Trend Breakouts: A specific "3-Bar Breakout" logic above the SMA 50, 100, or 200. This requires the price to hold above the SMA for 3 consecutive bars after being below it, reducing false signals compared to simple closes.
2. VIX Volatility Filter Before entering any trade, the script checks the CBOE:VIX.
Filter: If VIX is above the threshold (default 32), new entries are blocked.
Panic Exit: If you are in a position and the VIX spikes above the threshold, the strategy executes an immediate "Panic Exit" to preserve capital during market crashes.
3. The "Ratchet" Exit System (3 Stages) Unlike a standard trailing stop, this strategy uses a 3-stage dynamic exit mechanism that tightens as profits grow:
Stage 0 (Initial Risk): Standard percentage-based Stop Loss from the entry price.
Stage 1 (The Lock-In): Triggered when profit hits 10% (configurable).
Unique Logic: Instead of trailing from the highest high, the stop is calculated based on the price at the exact moment this stage was triggered. It "steps up" once and holds, securing the initial move without being prematurely stopped out by normal volatility.
Stage 2 (Trailing Mode): Triggered when profit hits 15% (configurable).
The strategy switches to a classic Trailing Stop, following the percentage distance from the Highest High.
4. Emergency Backup A "Dead Cross" (SMA 25 crossing under SMA 50) acts as a final fail-safe to close positions if the trend reverses completely before hitting a stop.
Settings & Inputs
SMAs: Customize the lengths for all four moving averages.
VIX Filter: Toggle the filter on/off and set the panic threshold.
Exit Logic: Fully customizable percentages for Initial SL, Stage 1 Trigger/Distance, and Stage 2 Trigger/Trailing Distance.
Disclaimer This script is for educational purposes only. Past performance is not indicative of future results. Always manage your risk appropriately.






















